home *** CD-ROM | disk | FTP | other *** search
- Path: news.compusult.nf.ca!usenet
- From: "Barry A. Ryan" <bryan@public.compusult.nf.ca>
- Newsgroups: comp.lang.c
- Subject: NEED HELP WITH Reading SGI Binary Files With A PC
- Date: 17 Feb 1996 00:34:53 GMT
- Organization: Compusult Limited, St. John's, NF, Canada
- Message-ID: <4g37rd$guh@hobbes.compusult.nf.ca>
- NNTP-Posting-Host: ts01_p29.remote.nfld.com
-
- Hi Everyone:
-
- I have binary data written out with a SGI computer. I need to read
- the binary data file with a PC 486. I've been told that the Bytes are
- reversed. The data contains a mix of int,char,float data. I know the
- structure that the data was written with. I'am having trouble writing
- a routine to read in the binary data in float/int chunks, do the byte
- rotation and then recover the float/int data etc. Do anyone have
- function to do this? Is it available? Is it covered in a FAQ?
- Any help would be appreciated.
-
-
-
-